package com.itheima.stock.properties;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * LimiterProperties
 *
 * @author DanLi
 * @date 2025/7/14
 */
@Data
@Component
@ConfigurationProperties(prefix = "limiter.config")
public class LimiterProperties {
    /**
     * 每秒允许接口最大访问次数
     */
    private int maxCount;
}
